package com.pxmeta.comment.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class CommentDTO {
    @ApiModelProperty(value = "评论内容")
    @NotBlank(message = "评论不能为空！")
    private String content;

    @ApiModelProperty(value = "上级评论id,如果没有则传0")
    private Long parentId;

    @ApiModelProperty(value = "回复用户id,如果没有则传0")
    private Long replyUserId;

    @ApiModelProperty(value = "动态id")
    private Long dynamicId;

    @ApiModelProperty(value = "提醒人id")
    private List<Long> remindUserId;
}
